#ifndef RECIPESCREEN_H
#define RECIPESCREEN_H

#include <QWidget>
#include "recipe.h"

namespace Ui {
class RecipeScreen;
}

class RecipeScreen : public QWidget
{
    Q_OBJECT

public:
    explicit RecipeScreen(QWidget *parent = 0);
    ~RecipeScreen();

private slots:
    void on_searchButton_clicked();

    void on_listWidget_doubleClicked(const QModelIndex &index);

    void on_HomeButton_clicked();

    void on_WhatToEat_clicked();

signals:
    void change_index(int);

private:
    Recipe *recipe;
    void initRecipe();
    Ui::RecipeScreen *ui;
};

#endif // RECIPESCREEN_H
